﻿using UnityEngine;
using System.Collections;

public class Armor : Equipable {
    public int armor;
    public int HP;
    public Armor(int hp, int ArmorR , AudioClip equip, Texture texture) {
        base.EquipSound = equip;
        Image = texture;
        armor = ArmorR;
        HP = hp;
        type = TypeOfItem.Equipable;
    }
    public override int Use(Vector3 pos)
    {
        base.Use(pos);
        Shoot();
        Debug.Log("Disparar: sound");
        return 0;
    }
    public void Shoot() {
        Debug.Log("Disparo");
    }
}
